// Weixin/GetProductList
import { request, get, post } from '../request'

/**
 * @description 获取商品列表
 * @param params {}
}
 */
export const getProductList = (params) => {
  return post({
    url: 'Weixin/GetProductList',
    data: params
  })
}

/**
 * @description 获取商品分类
 * @param params {}
}
 */
export const getShopcat = (params) => {
  return post({
    url: 'Weixin/GetShopcat',
    data: params
  })
}
/**
 * @description 获取商品库存
 * @param params {}
}
 */
export const getStock = (params) => {
  return post({
    url: 'Weixin/GetStock',
    data: params
  })
}
/**
 * @description 获取商品sku
 * @param params {}
}
 */
export const getSKU = (params) => {
  return post({
    url: 'Weixin/GetSKU',
    data: params
  })
}
/**
 * @description 批量获取商品sku
 * @param params {}
}
 */
export const getSKUList = (params) => {
  return post({
    url: 'Weixin/GetSKUList',
    data: params
  })
}

/**
 * @description 搜索商品
 * @param params {}
}
 */
export const searchProduct = (params) => {
  return post({
    url: 'Weixin/SearchProduct',
    data: params
  })
}
/**
 * @description 获取商品
 * @param params {}
}
 */
export const getProduct = (params) => {
  return post({
    url: 'Weixin/GetProduct',
    data: params
  })
}
